#if !defined(AFX_COLORLISTCTRL_H__9D7E3D93_05AC_11D4_9AFC_0050049B9A03__INCLUDED_)
#define AFX_COLORLISTCTRL_H__9D7E3D93_05AC_11D4_9AFC_0050049B9A03__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// ColorListCtrl.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CColorListCtrl window

class CColorListCtrl : public CListCtrl
{
// Construction
public:
    CColorListCtrl();

// Attributes
public:
    enum EHighlight { HIGHLIGHT_NORMAL, HIGHLIGHT_ALLCOLUMNS, HIGHLIGHT_ROW};
    bool m_nUseLParamAsColor;

protected:
    int m_nHighlight;    // Indicate type of selection highlighting

// Operations
public:
    void RepaintSelectedItems(void);
    int SetHighlightType(EHighlight hilite);

// Overrides
    // ClassWizard generated virtual function overrides
    //{{AFX_VIRTUAL(CColorListCtrl)
    virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
//    virtual void OnPaint();
    //}}AFX_VIRTUAL

// Implementation
public:
    virtual ~CColorListCtrl();

    // Generated message map functions
protected:
    //{{AFX_MSG(CColorListCtrl)
    afx_msg void OnPaint();
    afx_msg void OnKillFocus(CWnd* pNewWnd);
    afx_msg void OnSetFocus(CWnd* pOldWnd);
    //}}AFX_MSG

    DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_COLORLISTCTRL_H__9D7E3D93_05AC_11D4_9AFC_0050049B9A03__INCLUDED_)
